Package-level declarations

Functions

Link copied to clipboard
inline fun <T : KoBaseProvider> KoDeclarationProvider.declarationsOf(includeNested: Boolean = true, includeLocal: Boolean = true): List<T>

The declarations of type T present in the declaration.

Link copied to clipboard

Returns true if declaration represents the type of T.

Link copied to clipboard

Returns true if declaration represents the type of T. The external parent is a parent defined outside the project codebase (defined inside external library).

Link copied to clipboard

Returns true if declaration represents the type of T.

Link copied to clipboard

Returns true if declaration represents the type of T.

Link copied to clipboard

Returns true if declaration represents the type of T.

Link copied to clipboard

Determines whatever declaration has receiver type.

Link copied to clipboard

Determines whatever declaration has return type.

Link copied to clipboard

Determines whatever declaration has a valid KDoc with a PARAM tag in each defined constructor.

Determines whatever declaration has a valid KDoc with a PARAM tag.

Link copied to clipboard

Determines whatever declaration has a valid KDoc with a PROPERTY tag.

Link copied to clipboard

Determines whatever declaration has a valid KDoc with a RECEIVER tag.

Link copied to clipboard

Determines whatever declaration has a valid KDoc with a RETURN tag.

Link copied to clipboard
fun <T : KoBaseProvider> T.print(prefix: String? = null, predicate: (T) -> String? = null): T

Print declaration.

Link copied to clipboard

Returns true if declaration represents the type of T.